<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class UserWx extends Model
{
    public $table = 'user_wx';

    public $timestamps = false;

//    public $primaryKey = 'union_id';

    public function user()
    {
        return $this->hasOne(User::class,'id', 'id_user');
    }
}
